Tool-Assisted Unit Test Selection Based on Operational Violations

نویسندگان

  • Tao Xie
  • David Notkin
چکیده

Unit testing, a common step in software development, presents a challenge. When produced manually, unit test suites are often insufficient to identify defects. The main alternative is to use one of a variety of automatic unit test generation tools: these are able to produce and execute a large number of test inputs that extensively exercise the unit under test. However, without a priori specifications, developers need to manually verify the outputs of these test executions, which is generally impractical. To reduce this cost, unit test selection techniques may be used to help select a subset of automatically generated test inputs. Then developers can verify their outputs, equip them with test oracles, and put them into the existing test suite. In this paper, we present the operational violation approach for unit test selection, a black-box approach without requiring a priori specifications. The approach dynamically generates operational abstractions from executions of the existing unit test suite. Any automatically generated tests violating the operational abstractions are identified as candidates for selection. In addition, these operational abstractions can guide test generation tools to produce better tests. To experiment with this approach, we integrated the use of Daikon (a dynamic invariant detection tool) and Jtest (a commercial Java unit testing tool). An experiment is conducted to assess this approach.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Effect of Varicocelectomy on Assisted Reproductive Technique Indications and Outcomes based on Kruger Strict Morphology Test: a Randomized Clinical Trial

Background: A significant percent of infertile varicocele patients remained infertile after varicocelectomy and finally most of them refer for assisted reproductive technique (ART) procedures as intra uterine insemination (IUI), in vitro fertilization (IVF) and intracytoplasmic sperm injection (ICSI). In order to achieve the best results, more strict and accurate standards for ...

متن کامل

Analysis of the Impact of user’s Violations on the Saturation Flow Rate at Signalized Intersections

Accurate estimation of saturation flow rate is a prerequisite for accurate estimation of level of service and delays of signalized intersections. Saturation flow rate of intersections depends on many factors, including traffic behavior and culture. One of the important problems of traffic behavior in Iran is the violation of law at the physical region of intersections. The main purpose of this ...

متن کامل

Optimal Combined and Adaptive Protection of Active Distribution Networks Considering Different System Topologies Incorporating Optimal Selection of Standard Relay Curves

The change in the topology of active distribution networks (ADNs) is one of the essential challenges that might affect the protection schemes. The conventional protection schemes based on base topology result in some coordination constraint violations in other topologies due to the outage of upstream substations and distributed generation units. In this article, new combinational and adaptive p...

متن کامل

Genetic Polymorphism at MTNR1A, CAST and CAPN Loci in Iranian Karakul Sheep

Genotypes for melatonin receptor type 1A (MTNR1A) and Calpastatin (CAST) were determined by enzymatic digestion of PCR products and Calpain(CAPN) genotype detected by PCR-SSCP method in Iranian Karakul sheep. Blood samples were collected from 100 purebred Karakul sheep. The extraction of genomic DNA was based on guanidinium thiocyanate- silica gel method. PCR amplicons were digested with restri...

متن کامل

A comparison between modal damping ratios identified by NExT-ERA and frequency domain impact test

In this research, the modal parameters of a beam in free-free condition are extracted by performing different experiments in laboratory. For this purpose, two different techniques are employed. The first methodology is considered as a time domain method in Operational Modal Analysis. While the other one is frequency domain impact hammer test which is categorized as an Experimental Modal Analysi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003